Selenium Testing

Getting Started with Selenium Web Driver and Python


In [ ]:

Preparing your test machine


In [ ]:

Installing the Selenium package


In [ ]:

Browsing the Selenium Web Driver Python documentation


In [ ]:

Selecting an IDE


In [ ]:

Taking your first steps with Selenium and Python


In [ ]:

Cross-browser support

Setting up Internet Explorer


In [ ]:

Setting up Google Chrome


In [ ]:

Writing Tests Using unit test

The unit test library


In [ ]:

The Test Case class


In [ ]:

The setUp() method


In [ ]:

Writing tests


In [ ]:

Cleaning up the code


In [ ]:

Running the test


In [ ]:

Adding another test


In [ ]:

Class-level setUp() and tearDown()methods


In [ ]:

Assertions


In [ ]:

Test suites


In [ ]:

Generating the HTML test report


In [ ]:

Finding Elements


In [ ]:

Using developer tools to find locators


In [ ]:

Inspecting pages and elements with Fire foxusingthe Firebugadd-in


In [ ]:

Inspecting pages and elements with Google Chrome


In [ ]:

Inspecting pages and elements with Internet Explorer


In [ ]:

Finding elements with Selenium Web Driver


In [ ]:

Using the find methods


In [ ]:

Finding elements using the ID attribute


In [ ]:

Finding elements using then a meat tribute


In [ ]:

Finding elements using the class name


In [ ]:

Finding elements using the tag name


In [ ]:

Finding elements using XPath


In [ ]:

Finding elements using CSS selectors


In [ ]:


In [ ]:


In [ ]:

Putting all the tests together using find methods


In [ ]:

Using the Selenium Python API for Element Interaction


In [ ]:

Elements of HTML forms


In [ ]:

Understanding the Web Driver class


In [ ]:

Properties of the Web Driver class


In [ ]:

Methods of the Web Driver class


In [ ]:

Understanding the Web Element class


In [ ]:

Properties of the Web Element class


In [ ]:

Methods of the Web Element class


In [ ]:

Working with forms, text boxes, check boxes, and radio buttons


In [ ]:

Checking whether the element is displayed and enabled


In [ ]:

Finding the element attribute value


In [ ]:

Using the is selected()method


In [ ]:

Using the clear()and send keys()methods


In [ ]:

Working with drop down sand lists


In [ ]:

Understanding the Select class


In [ ]:

Properties of the Select class


In [ ]:

Methods of the Select class


In [ ]:

Working with alert sand pop-up windows


In [ ]:

Understanding the Alert class


In [ ]:

Properties of the Alert class


In [ ]:

Methods of the Alert class


In [ ]:

Automating browser navigation


In [ ]:

Synchronizing Tests


In [ ]:

Using implicit wait


In [ ]:

Using explicit wait


In [ ]:

The expected condition class


In [ ]:

Waiting for an element to been a bled


In [ ]:

Waiting for alerts


In [ ]:

Implementing custom wait conditions


In [ ]:

Cross-browser Testing


In [ ]:

The Selenium stand alone server


In [ ]:

Downloading the Selenium stand a lone server


In [ ]:

Launching the Selenium stand a lone server


In [ ]:

Running a test on the Selenium stand alone server


In [ ]:

Adding support for Internet Explorer


In [ ]:

Adding support for Chrome


In [ ]:

Selenium Grid


In [ ]:

Launching Selenium server as a hub


In [ ]:

Adding nodes


In [ ]: